<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
<div align="center"><h3>用户登录</h3></div>
<br></br>
<form action="list" th:object="${UserBean}" method="post">
<div align="center">
<span><label>用户ID</label></span>
<input name="userID" type="text"/>
</div>
<br></br>
<div align="center">
<span><label>密码</label></span>&nbsp;&nbsp;
<input name="password" type="password"/>
</div>
<br></br>
<div align="center">
<button type="submit" name="login">登录</button>
<button type="submit" name="zhuce">注册</button><span th:text="${message}"></span>
</div>
</form>
</body>
</html>